package com.api.shopapi.service;

import com.api.shopapi.entity.JKXueyang;
import com.api.shopapi.entity.dto.JKXueyangDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface JKXueyangServie {

    int insert(JKXueyang jkXueyang);

    int update(JKXueyang jkXueyang);

    int delete(String jKXueyangCode);

    JKXueyang getByJKXueyangCode(String jKXueyangCode);

    PageInfo<JKXueyang> getPageList(int pageIndex,int PageSize,String userCode,String startTime,String endTime);

    PageInfo<JKXueyangDTO> getAdmPageList(int pageIndex, int pageSize, String name, String governmentCode, String startTime, String endTime);


}
